﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;


namespace AceSoft.RetailPlus.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Message = "Welcome to RetailPlus+";
            
            /*remove this. this is for testing purposes*/
            RetailPlus.DataService.Login.ValidateUser(new RetailPlus.Security.LoginModel());
            System.Web.Security.FormsAuthentication.SetAuthCookie("Jezer", true);
            /*remove this. this is for testing purposes*/

            return View();
        }

        public ActionResult About()
        {
            return View();
        }

        
        public ActionResult Help()
        {
            return View();
        }
    }
}
